package SGNet2

import (
	"io"
)

type IProtocl interface {
	Receive(io.ReadWriter) (interface{}, error)
	Send(...interface{}) (interface{}, error)
	Close() error
	AddPacketEvent(interface{})
	DispatchPacket(*Session, interface{})
}
